<script setup lang="ts">
import { onMounted, ref } from 'vue'
import { invoke } from '@tauri-apps/api'

const domRef = ref<HTMLIFrameElement>()

onMounted(async () => {
  // invoke('toggle_deltool')
})
</script>
<template>
  <iframe ref="domRef" src="https://map.cnscum.com/"></iframe>
  <!-- <iframe ref="domRef" src="https://scum-map.com/zh-CN/map/-132780.4428,-126300.776,2"></iframe> -->
</template>
<style lang="less">
iframe {
  height: 100vh;
  border: 0;
  pointer-events: all;
  width: calc(100% + 52px) !important;
  margin-left: -52px;
}
html, body {
  background: transparent;
  pointer-events: none;
}
</style>